package Constructions;

import World.TileType;

public enum ConstructionType 
{
	LifeSupport(350,10,"Resources/LifeSupport.png"),
	AsteroidMiner(2500,0,2,2,"Resources/AsteroridMiner.png",TileType.Interior),
	Door(150,0,1,1,"Resources/DoorOpen.png",TileType.Hull),
	TeleportPad(500,0,3,2,"Resources/TeleportPad.png",TileType.Interior),
	PowerConnector(100,0,"Resources/PowerConnector.png"),
	SolarPanel(300,0,1,1,"Resources/SolarPanel.png",TileType.Space),
	TorpedoBay(600,0,1,1,"Resources/TorpedoBay.png",TileType.Hull),
	Recycler(1000,10,2,2,"Resources/AsteroidMiner.png",TileType.Interior),
	Morgue(150, 3, 3, 2, "Resources/AsteroidMiner.png", TileType.Interior),
	PPS(500,0,1,1,"Resources/PPSUnfired.png",TileType.Hull);
	
	private ConstructionType(int metalCost,int bioCost,String spriteURL)
	{
		this.metalCost = metalCost;
		this.bioCost = bioCost;
		this.spriteURL = spriteURL;
	}
	
	private ConstructionType(int metalCost,int bioCost,int width,int height,String spriteURL,TileType requiredTile)
	{
		this.metalCost = metalCost;
		this.bioCost = bioCost;
		this.height = height;
		this.width = width;
		this.spriteURL = spriteURL;
		this.requiredTile = requiredTile;
	}
	
	int metalCost,bioCost,width = 1,height = 1;
	String spriteURL;
	TileType requiredTile = TileType.Interior;
	
	public int getMetalCost()
	{
		return metalCost;
	}
	
	public int getBioCost()
	{
		return bioCost;
	}
	
	public int getWidth()
	{
		return width;
	}
	
	public int getHeight()
	{
		return height;
	}
	
	public String getSpriteURL()
	{
		return spriteURL;
	}
	
	public TileType getRequiredTile()
	{
		return requiredTile;
	}
}
